package com.djzhou.gmms.model.authority;

import java.util.Date;

import com.djzhou.gmms.model.company.TbCompany;
import com.djzhou.gmms.model.department.TbDepartment;
import com.djzhou.gmms.model.entity.Entity;
import com.djzhou.gmms.model.user.TbUser;


public class TbAuthority extends Entity {


	private Integer authorityId;//权限ID
	private String authorityName;//权限名称
	private String authorityNo;
	private Integer deleteFlag;//删除标识
	private Date createTime;//创建时间
	private Date lastModifyTime;//最后修改时间
	private String remark;//权限说明_权限编码
	private Integer autoAuthorityFlag;//是否为自动权限设置
	
	private TbUser user;//操作人
	private TbCompany company;
	private TbDepartment department;
	
	
	public TbUser getUser() {
		return user;
	}
	public void setUser(TbUser user) {
		this.user = user;
	}
	public Integer getAuthorityId() {
		return authorityId;
	}
	public void setAuthorityId(Integer authorityId) {
		this.authorityId = authorityId;
	}
	public String getAuthorityName() {
		return authorityName;
	}
	public void setAuthorityName(String authorityName) {
		this.authorityName = authorityName;
	}
	public Integer getDeleteFlag() {
		return deleteFlag;
	}
	public void setDeleteFlag(Integer deleteFlag) {
		this.deleteFlag = deleteFlag;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public Date getLastModifyTime() {
		return lastModifyTime;
	}
	public void setLastModifyTime(Date lastModifyTime) {
		this.lastModifyTime = lastModifyTime;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	public String getAuthorityNo() {
		return authorityNo;
	}
	public void setAuthorityNo(String authorityNo) {
		this.authorityNo = authorityNo;
	}
	public TbCompany getCompany() {
		return company;
	}
	public void setCompany(TbCompany company) {
		this.company = company;
	}
	public TbDepartment getDepartment() {
		return department;
	}
	public void setDepartment(TbDepartment department) {
		this.department = department;
	}
	public Integer getAutoAuthorityFlag() {
		return autoAuthorityFlag;
	}
	public void setAutoAuthorityFlag(Integer autoAuthorityFlag) {
		this.autoAuthorityFlag = autoAuthorityFlag;
	}
	
	


}